﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="frmTipoDocumentoAlta.aspx.cs" Inherits="frmTipoDocumentoAlta" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<h1>Alta de Tipo Documento</h1>
    <p>
        <asp:SqlDataSource ID="SqlDataSourceAltaTipoDoc" runat="server" 
            ConnectionString="Data Source=IT-NOT\SQLEXPRESS;Initial Catalog=BD_SAFA;Integrated Security=True;Pooling=False" 
            InsertCommand="INSERT INTO T_TipoDoc(descripcionTipoDocumento) VALUES (@descTipoDoc)" 
            ProviderName="System.Data.SqlClient">
            <InsertParameters>
                <asp:Parameter Name="descTipoDoc" />
            </InsertParameters>
        </asp:SqlDataSource>
        <asp:Label ID="Label1" runat="server" 
            Text="Ingrese la Descripción del Tipo de Documento"></asp:Label>
    </p>
    <p>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </p>
    <p>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Alta" />
        <asp:Label ID="Label2" runat="server"></asp:Label>
    </p>


</asp:Content>

